import classNames from "classnames";
import React from "react";
import "./index.scss";

export const TitleBar = ({
  name = "",
  className,
  children,
}: {
  name?: string;
  className?: string;
  children?: React.ReactNode;
}) => {
  return (
    <div className={classNames("title-bar", className)}>
      {name}
      {children}
    </div>
  );
};
